/*
 * @Author: C.
 * @Date: 2023-03-31 13:54:17
 */
import { on } from '/@/utils/domUtils';
export function init() {
  listenerHashChange();
}
function listenerHashChange() {
  console.log(
    String(`
       _  __      __  _____    _____    ____    ______   _______ 
      | | \\ \\    / / |_   _|  / ____|  / __ \\  |  ____| |__   __|
      | |  \\ \\  / /    | |   | (___   | |  | | | |__       | |   
  _   | |   \\ \\/ /     | |    \\___ \\  | |  | | |  __|      | |   
 | |__| |    \\  /     _| |_   ____) | | |__| | | |         | |   
  \\____/      \\/     |_____| |_____/   \\____/  |_|         |_|     
  `),
  );
  console.log('监控SDK开启~');
  on(window, 'hashchange', (e) => {
    console.log(e, 'hashchange');
  });
  on(window, 'popstate', (e) => {
    console.log(e, 'popstate');
  });
}
